package cn.xclink.kernel.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.xclink.common.mapper.BaseMapper;
import cn.xclink.kernel.entity.Org;

public interface OrgMapper extends BaseMapper<Org> {

	public List<Org> selectOrg(Org org);

	public List<Org> selectOrgByUserId(Long userId);
	
	public List<Org> selectOrgByUserIdAndParentIds(@Param("userId") Long userId,@Param("parentIds") String parentIds);

}